package com.hsd.znsh.pojo.query;

import com.hsd.znsh.entity.Batch;
import com.hsd.znsh.entity.Opinion;
import com.hsd.znsh.hql.*;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-05-03 21:49:22
 */
@Data
@ClassName(Opinion.class)
public class OpinionQuery {

    /*批次开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Great(column = "createDateTime")
    private Date startTime;

    /*预期收获时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Less(column = "createDateTime")
    private Date endTime;

    private String content;
}

